package com.foreknow.practice.impl.impl2;

public class ClassA implements  InterfaceA{
          int sun;
    @Override
    public int method(int n) {
        for (int i=1;i<n ;i++){
            sun +=i;
        }
        return sun;
    }
}
